package org.springcloud.wisdom.spring_01_canteen.login.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
//老生
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("wisdom.student")
public class Student {
    //主键
    @TableId(type = IdType.AUTO,value = "wisdom.student.id")
    private Integer id;
    //密码
    @TableField("wisdom.student.adpass")
    private String adpass;
    //身份证号
    @TableField("wisdom.student.identify")
    private String identify;
    //学号
    @TableField("wisdom.student.sid")
    private String sid;
    //姓名
    @TableField("wisdom.student.sname")
    private String sname;
    //性别
    @TableField("wisdom.student.gender")
    private String gender;
    //院系
    @TableField("wisdom.student.dept")
    private Integer dept;
    //地址
    @TableField("wisdom.student.address")
    private String address;
    //邮箱
    @TableField("wisdom.student.email")
    private String email;
    //头像
    @TableField("wisdom.student.photourl")
    private String photourl;
    //手机号
    @TableField("wisdom.student.phone")
    private String phone;
    //0-禁言 1-发言
    @TableField("wisdom.student.cantalk")
    private String cantalk;
    //特长 申请理由
    @TableField("wisdom.student.talent")
    private String talent;
    //逻辑的删除与否
    @TableField("wisdom.student.del")
    private Integer del;


}
